]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Pass the right 'this' to switchWorkspaceDone
authorOwen Taylor <otaylor@src.gnome.org>
Thu, 8 Jan 2009 23:34:19 +0000 (23:34 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 8 Jan 2009 23:34:19 +0000 (23:34 +0000)
switchWorkspaceDone was being called with the wrong 'this', causing
ShellWM.completed_switch_workspace() never to be called, causing stacking
order to get confused.

http://bugzilla.gnome.org/show_bug.cgi?id=567091

svn path=/trunk/; revision=142

js/ui/windowManager.js

index 2c4b0ef2353523736d9b5abdb6f24fab0dfcfdc5..60f329a57e463d580575c27a9b3b399e3d184b38 100644 (file)
@@ -296,7 +296,8 @@ WindowManager.prototype = {
                            y: yDest,
                            time: SWITCH_ANIMATION_TIME,
                            transition: "easeOutBack",
-                           onComplete: this._switchWorkspaceDone
+                           onComplete: this._switchWorkspaceDone,
+                           onCompleteScope: this
                          });
         Tweener.addTween(switchData.inGroup,
                          { x: 0,